#include "wstandard.h"
#include "pfire.h"
#include <OgreEntity.h>
#include <stdio.h>
#include <OgreMath.h>
#include "OgreParticleSystem.h"
#include <OgreParticleEmitter.h>

WStandard::WStandard(World *world, int numOfProjectiles, int rof): Weapon(world, numOfProjectiles, rof){}

Projectile* WStandard::getProjectile(int projectileAtIndex){
    return m_projectiles[projectileAtIndex];
}

void WStandard::reload(){

    m_numOfProjectiles = 2;

    for(int i = 0; i < m_numOfProjectiles; i++){
        m_projectiles[i] = new PFire(m_world, 1000, 80, 0);
        m_projectiles[i]->setNpc(false);
    }
}
